package com.ihr360.commons.model.type;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ihr360.commons.model.annotation.EnumData;
import com.ihr360.commons.serializer.jackson.EnumDataSerializer;

@EnumData
@JsonSerialize(using = EnumDataSerializer.class)
public enum SIHFLedgerState {
    //    CHECK("核算", "Check"),
    ADJUST("待调整", "Adjust"),
    APPROVING("审批中", "Approving"),
    DENIED("驳回", "Denied"),
    CLOSED("关闭", "Closed");

    private String title;
    private String engTitle;

    private SIHFLedgerState(String title, String engTitle) {
        this.title = title;
        this.engTitle = engTitle;
    }

    public String getTitle() {
        return this.title;
    }

}